<template>
    <el-menu active-text-color="#ffd04b" background-color="#545c64" class="el-menu-vertical-demo" router
        :default-active="$route.path" text-color="#fff">
        <el-menu-item index="/index">
            <span>首页</span>
        </el-menu-item>

        <el-sub-menu index="/guanli">
            <template #title>
                <span>系统管理</span>
            </template>

            <el-menu-item index="/yonghu">
                用户管理
            </el-menu-item>
            <el-menu-item index="/juese">
                角色管理
            </el-menu-item>
        </el-sub-menu>
    </el-menu>
</template>

<script setup>

</script>

<style scoped></style>